<?php
  require "./tool_maths.php";

  $array=array(
    0=>1,
    1=>3,
    2=>7,
    3=>20,
    4=>7,
    5=>3,
    6=>1
//    98=>1
  );

//  $array=array(0,1,1,1);

//  $array=array(0=>1,1=>3);

  $gauss=tool_maths::get_gaussienne($array,array_keys($array));
  print_r($gauss);

?>
